<?php
header ('Content-type: text/html; charset=utf-8');
defined('DS') ? null : define('DS', DIRECTORY_SEPARATOR);
defined('APP_PATH') ? null : define('APP_PATH', '..' . DS . 'application');

require_once (APP_PATH . DS . 'initialize.php');

if (!$_SESSION['logged_in'])
{
    redirect_to("login.php");
} 
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/ControlPanel.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>Control-Panel</title>
</head>

<body>
	<h5>Admin Index page.</h5>
	<form action="logout.php" method="post">
		<input type="submit" value="Logout" />
	</form>
	
	<form action="change_password.php" method="post">
		<input type="submit" value="Change password" />
	</form>
</body>
</html>

